#!/usr/bin/env python

from pylab import *

fp = open('weights_dcds.txt', 'w')


# 250个采样点
# @0.156MHz
w_size = 198

for cnt in range(w_size):
    for os in range(16):
        if cnt >= 30 and cnt <= 90:
            w = 1./61
        elif cnt >= 122 and cnt <= 182:
            w = -1./61
        else:
            w = 0

        fp.write('%12.8f '%(w)) 

    fp.write('\n')
fp.close()



